<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<style>
     *{
		 text-align:center;
		 margin:0;
		 padding:0;
		 vertical-align:middle;
		 }
	 #d001{
		 border:7px  #CCFF33 double;  
		 background-color:#F00;
		 width:200px;
		 height:300px;
		 margin:30px 80px;
		 padding:20px;
		 }
		 #d002{
		 border:10px  dotted  #FF0000;	 
		 background-color: #03C;
		 width:200px;
		 height:300px;
		 margin:50px 40px;
		 padding:20px;
		 }
</style>
<body>
<div id="d001">盒子模型1</div>
<div id="d002">盒子模型2</div>
</body>
</html>
